package learning.xml.jaxb;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

@XmlRootElement(name = "Score")
// If you want you can define the order in which the fields are written
// Optional
@XmlType(propOrder = { "name", "load", "instructions" })
public class Score {

	private String name;
	private String[][] load;
	private int[][] instructions;

	@XmlElement(name = "scoreName")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	public String[][] getLoad() {
		return load;
	}

	public void setLoad(String[][] load) {
		this.load = load;
	}
	
	public int[][] getInstructions() {
		return instructions;
	}

	public void setInstructions(int[][] instructions) {
		this.instructions = instructions;
	}

}
